<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<html>
<head>
<base href="<%=basePath%>">
<title>买二手车网</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<!-- <link rel="stylesheet" type="text/css" href="css/bootstrap-theme.css"> -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<link href="https://cdn.bootcss.com/bootstrap/3.0.1/css/bootstrap-theme.css" rel="stylesheet">
<link href="https://cdn.bootcss.com/bootstrap/3.0.1/css/bootstrap.css" rel="stylesheet">
<script src="https://cdn.bootcss.com/bootstrap/3.0.1/js/affix.js"></script>

</head>
<body>
<div style="background:url(statics/images/photo.jpg) no-repeat;width:100%;height:100%">
	<span style="font-family:Microsoft YaHei;">
			<a href="guide.jsp">首页</a>
			<a href="#">欣赏的车辆</a>
			<a href="#">看过的车辆</a>
			<a href="#">联系与帮助</a>
			欢迎您：${userName}
			<a href="login.jsp">注销</a>
	</span>			
			<div class="page-header">
				<h1>
					精选优质车源 <small>14天可退，一年2万公里质保！</small>
				</h1>
			</div>
			
<div class="container">
	<div class="row clearfix">
		<div class="col-md-12 column">			
			<div class="row">
				<div class="col-md-4">
					<c:forEach items="${carInfo }" var="like">
						<div class="thumbnail">
							${like.image }
							<div class="caption">
								<h3>${like.carName }</h3>
								<p>${like.particulars}</p>
								<h4>新车指导价：${like.price }</h4>
								<p align="center">
									<a class="btn btn-primary" href="#">联系卖家询价</a>
								</p>
							</div>
						</div>
					</c:forEach>
				</div>
			</div>	
		</div>
	</div>
</div>
				
</div> 
<hr>
  		<div style = "text-align:center;">
  		<input type="button" value="返回" onclick="javascript:history.go(-1);">
  		</div>
</body>
</html>
